home *** CD-ROM | disk | FTP | other *** search
/ Almathera Ten Pack 3: CDPD 3 / Almathera Ten on Ten - Disc 3: CDPD3.iso / scope / 001-025 / scopedisk5 / shell210 / todo < prev    next >
Text File  |  1995-03-18  |  1KB  |  65 lines

  1.  
  2.     -SetFileDate() routine in comm2.c
  3.  
  4.     -set xx " x"  initial space ignored in quoted section.
  5.     -change -f to -e
  6.  
  7.  
  8.     -version
  9.  
  10.     -history rel.
  11.  
  12.     -flag copy noisy.
  13.  
  14.  
  15.  
  16. recompile version
  17.  
  18. LATTICE free_memory().
  19.  
  20. PIPE/PARALLEL implimentation:
  21.  
  22.     a | b    -pipe
  23.     a || b    -execute in parallel parallel
  24.  
  25. break each command into:
  26.  
  27.     command, parameters
  28.     input redirection or pipe in
  29.     output redirection or pipe out
  30.  
  31.     call command executor
  32.  
  33.  
  34. MUST always specify redirection file names.
  35.  
  36. command executor:
  37.     If not pipe segment (last seg is not considered a pipe)
  38.     execute via shell
  39.     else
  40.     execute a RUN via shell
  41.     send pipe terminate command for input and output pipe's in case RUN
  42.     failed.
  43.  
  44.  
  45. external(avlist, infilename, outfilename)
  46. char **avlist;
  47. char *infilename;   NULL means take last pipe segment
  48. char *outfilename;  NULL means send to next pipe segment
  49. {
  50.     figure out aux. names (for pipes).
  51.     if (outfilename == NULL) {
  52.     exec a c:RUN >file <file
  53.     if (infilename == NULL)     /* Ensure pipe has been cleared */
  54.         pipeclear inpipe
  55.     if (outfilename == NULL)
  56.         pipeclear outpipe
  57.     } else {
  58.     open pert. files
  59.     exec a .........
  60.     close pert. files
  61.     }
  62. }
  63.  
  64.  
  65.